﻿<Window x:Class="iSmartCreatorApp.TableAddWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="TableAddWindow" Height="232" Width="246">
    <DockPanel Dock="Top">
        <GroupBox DockPanel.Dock="Top" Header="Size">
            <DockPanel Dock="Top" LastChildFill="False">
                <DockPanel LastChildFill="False" Dock="Top">
                    <Label Content="Rows:"/>
                    <TextBox IsReadOnly="True" x:Name="txtbxRows" Margin="18,0,0,0" Width="40" Height="18" Text="1"/>
                    <DockPanel Height="18" Margin="12,0,0,0" LastChildFill="False" Dock="Left">
                        <Button x:Name="btnRowsSubtract" Content="-" Width="18" Height="18" Click="btnRowsSubtract_Click"/>
                        <Button x:Name="btnRowsAdd" Content="+" Width="18" Margin="3,0,0,0" Click="btnRowsAdd_Click"/>
                    </DockPanel>
                </DockPanel>
                <DockPanel LastChildFill="False" Dock="Top">
                    <Label Content="Columns:"/>
                    <TextBox Text="2" IsReadOnly="True" x:Name="txtbxColumns" Width="40" Height="18"/>
                    <DockPanel Height="18" Margin="12,0,0,0" LastChildFill="False" Dock="Left">
                        <Button x:Name="btnColumnsSubtract" Content="-" Width="18" Click="btnColumnsSubtract_Click"/>
                        <Button x:Name="btnColumnsAdd" Content="+" Width="18" Margin="3,0,0,0" Click="btnColumnsAdd_Click"/>
                    </DockPanel>
                </DockPanel>
                <DockPanel LastChildFill="False" Dock="Top">
                    <Label Content="Width:"/>
                    <TextBox Text="120" IsReadOnly="True" x:Name="txtbxWidth" Width="40" Margin="14,0,0,0" Height="18"/>
                    <DockPanel Height="18" Margin="12,0,0,0" LastChildFill="False" Dock="Left">
                        <Button x:Name="btnWidthSubtract" Content="-" Width="18" Click="btnWidthSubtract_Click"/>
                        <Button x:Name="btnWidthAdd" Content="+" Width="18" Margin="3,0,0,0" Height="18" Click="btnWidthAdd_Click"/>
                    </DockPanel>
                </DockPanel>
            </DockPanel>
        </GroupBox>
        <DockPanel LastChildFill="False" Dock="Top">
            <DockPanel Margin="0,5,0,0" LastChildFill="False" Dock="Top">
                <Label Content="Border:"/>
                <TextBox Text="1" IsReadOnly="True" x:Name="txtbxBorder" Width="40" Margin="5,0,0,0" Height="18"/>
                <DockPanel Height="18" Margin="12,0,0,0" LastChildFill="False" Dock="Left">
                    <Button x:Name="btnBorderSubtract" Content="-" Width="18" Click="btnBorderSubtract_Click"/>
                    <Button x:Name="btnBorderAdd" Content="+" Width="18" Margin="3,0,0,0" Click="btnBorderAdd_Click"/>
                </DockPanel>
            </DockPanel>
        </DockPanel>
        <DockPanel Margin="0,5,0,0" Dock="Top">
            <Separator/>
        </DockPanel>
        <DockPanel LastChildFill="False" Margin="0,10,0,10" Dock="Bottom">
            <Button x:Name="btnCancel" Margin="0,0,12,0" Content="Cancel" DockPanel.Dock="Right" Height="22" Width="70" Click="btnCancel_Click"/>
            <Button x:Name="btnOk" Margin="0,0,12,0" Content="OK" DockPanel.Dock="Right" Height="22" Width="70" Click="btnOk_Click"/>
        </DockPanel>
    </DockPanel>
</Window>
